package com.hdey.service.heng.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hdey.mapper.heng.TbUscDictionaryhMapper;
import com.hdey.pojo.heng.TbUscDictionary;
import com.hdey.service.heng.TbUscDictionaryService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;

@Service("tbUscDictionaryService")
@Transactional
public class TbUscDictionaryServiceImpl extends ServiceImpl<TbUscDictionaryhMapper, TbUscDictionary> implements TbUscDictionaryService {
    @Resource
    private TbUscDictionaryhMapper mapper;

    @Override
    public TbUscDictionary selectByCgCode(String cgCode) {
        return mapper.selectByCgCode(cgCode);
    }
}
